<div class="context-menu">
	<ul>
		<li><?php echo $html->link('User list', '/admin/users/index')?></li>
	</ul>
</div>

<fieldset>
	<legend>Register an User</legend>
	
	<form action="<?php echo $html->url('/admin/users/add'); ?>" method="post">
		
 			<?php echo $form->input('User/username', array('div' => array('class' => 'required')));?>
	
 			<?php echo $form->input('User/password', array('type' => 'password', 'div' => array('class' => 'required')));?>

			<?php echo $form->input('User/password2', array('type' => 'password', 'label' => 'Check password', 'div' => array('class' => 'required')));?>

 			<?php echo $form->input('User/email', array('div' => array('class' => 'required')));?>

 			<?php echo $form->input('User/first_name');?>

 			<?php echo $form->input('User/last_name');?>

			<?php echo $form->submit('Add');?>

	</form>
</fieldset>
